﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SAKS.Models;
using System.Drawing;

namespace SAKS.IServices
{
    public interface IPictureServices : IHasSession
    {
        Guid SavePictureFile(byte[] pic);
        Guid SavePictureInfo(PictureInfo info);
        Image GetThumbnail(Guid pictureId);
        Image GetOriginal(Guid pictureId);
        PictureInfo GetInfo(Guid pictureId);
        IEnumerable<PictureInfo> GetInfoList(Guid projectId, int start, int pageSize, out int? totalRecords);
    }
}
